package com.mycjj.android.bean;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ReservationBaseBean implements Serializable {
	/**
	 * 
	 */

	private static final long serialVersionUID = 1L;
	private int code;//
	private String request;
	private ReservationBean data;//
	private String msg;//
	
	

	public int getCode() {
		return code;
	}



	public void setCode(int code) {
		this.code = code;
	}



	public String getRequest() {
		return request;
	}



	public void setRequest(String request) {
		this.request = request;
	}



	public ReservationBean getData() {
		return data;
	}



	public void setData(ReservationBean data) {
		this.data = data;
	}



	public String getMsg() {
		return msg;
	}



	public void setMsg(String msg) {
		this.msg = msg;
	}



	@JsonIgnoreProperties(ignoreUnknown = true)
	public static class ReservationBean implements Serializable {
		private static final long serialVersionUID = 1L;
		private int page;
		private List<ReservationEntity> list;

		@Override
		public String toString() {
			StringBuffer sb = new StringBuffer("");
			if (list != null && list.size() > 0) {
				sb.append("[size:" + list.size() + ";");
				for (ReservationEntity e : list) {
					sb.append("{" + e.toString() + "};");
				}
				sb.append("]");
			}
			return "page:" + page + ";list:";
		}

		public int getPage() {
			return page;
		}

		public void setPage(int page) {
			this.page = page;
		}

		public List<ReservationEntity> getList() {
			return list;
		}

		public void setList(List<ReservationEntity> list) {
			this.list = list;
		}
	}

}
